<% #endcoding: utf-8 %>
    <%=form_for :session,url:login_path do |f|%>
        <div class="form-group">
          <%=f.label :选择类型%>
          <%=f.select :user_type,{"企业"=>true,"咨询师"=>false},{},{:class=>"form-control"}%>
        </div>
        <div class="form-group">
          <%=f.label :邮箱%>
          <%= f.text_field :email,:class=>'form-control'%>
        </div>

        <div class="form-group">
          <%=f.label :密码%>
          <%= f.password_field :password,:class=>'form-control'%>
        </div>
        <%= f.submit "登录", class: "btn btn-primary" %> 没有账号？<%=link_to "注册",register_path%>一个，只要10秒
    <% end %>
